package com.imooc.service;

import com.imooc.bean.Command;
import com.imooc.dao.CommandDao;

import java.util.List;

/**
 * 列表相关的业务功能处理
 */
public class CommandService {
    public List<Command> queryCommandList(String name, String description){
        CommandDao commandDao = new CommandDao();
        return commandDao.queryCommandList(name, description);
    }

}
